<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="thx" uri="/thx-tags"%>
	
<form id="flow-copy-form" name="ui-adminlte-form" data-toggle="validator"
	role="form" method="post"
	action="${pageContext.request.contextPath}/workflow/flow!copyFlow.action"
	forward-action="${pageContext.request.contextPath}/workflow/flow!list.action">
	<s:token></s:token>
	<input name="detailId" value="${detailId}" type="hidden"/>
	<div class="form-group">
		<label>流程名称</label> 
		<input type="text" name="entity.flowName" maxLenght="20"
			value="${entity.flowName}" class="form-control required"
			remote="${pageContext.request.contextPath}/workflow/flow!checkFlowName.action"
			placeholder="输入流程名称" />
	</div>
</form>

<script>
	$(function() {
		form.init();
	});
</script>